package com.example.teesystem.entity.vo.examEvaluation;


import com.example.teesystem.common.valid.ValidErrorMessage;
import com.example.teesystem.common.valid.ValidId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author pxr
 * @data 2022/5/6 16:56
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WordVo {
    @NotNull(message = "试卷id不能为空")
    private Integer paperId;

    @NotNull(message = "classId不能为空")
    private Integer classId;

    @NotNull(message = "courseId不能为空")
    @ValidId(message = ValidErrorMessage.COURSE_ID_VALID_FAIL, ifCourseId = true)
    private Integer courseId;

    @NotNull(message = "examMode不能为空")
    private String examMode;

    @NotNull(message = "courseNature不能为空")
    private String courseNature;
}
